package com.zmzncs.lmtc.module.promotion.dao;

import com.zmzncs.lmtc.module.promotion.pojo.reserve_fee_scale.ReserveFeeScale;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.promotion.pojo.reserve_fee_scale.ReserveFeeScaleDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 促销-预约规则的时段预约费 Mapper 接口
 * </p>
 *
 * @author 高博文
 * @since 2020-12-14
 */
@Repository
public interface ReserveFeeScaleDao extends BaseMapper<ReserveFeeScale> {

    /**查询规则的收费标准 */
    List<ReserveFeeScaleDTO> getReserveRuleFeeScaleByRuleId(Long ruleId);

    /**根据规则Id删除信息*/
    void deleteByRuleId(Long ruleId);
}
